package server;

import java.util.HashMap;
import java.util.Map;

public class Subjects {
	
	private Map<String, Subject> map;
	
	public Subjects(){
		map = new HashMap<String, Subject>();
		map.put("Alice", new Subject(Position.PATIENT,"Alice", "unkown"));
		map.put("Bob", new Subject(Position.PATIENT,"Bob", "unkown"));
		map.put("GA", new Subject(Position.GA,"GA", "unkown"));
		map.put("Doc1", new Subject(Position.DOC,"Doc1", "Division1"));
		map.put("Doc2", new Subject(Position.DOC,"Doc2", "Division2"));
		map.put("Nurse1", new Subject(Position.NURSE,"Nurse1", "Division1"));
		map.put("Nurse2", new Subject(Position.NURSE,"Nurse2", "Division2"));
	}
	
	public Subject getSubject(String name){
		return map.get(name);
	}

}
